<div class="setting_container">  
    <?php
    if ($type == "social")
        $this->load->view("setting/social_setting_view");
    else
        $this->load->view("setting/time_setting_view");
    ?>
</div>